package com.kingdee.eas.custom.wg.basedata;

import com.kingdee.bos.BOSException;
//import com.kingdee.bos.metadata.*;
import com.kingdee.bos.framework.*;
import com.kingdee.bos.util.*;
import com.kingdee.bos.Context;

import java.lang.String;
import com.kingdee.eas.common.EASBizException;
import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.bos.metadata.entity.SelectorItemCollection;
import com.kingdee.eas.framework.CoreBaseCollection;
import com.kingdee.bos.util.*;
import com.kingdee.bos.BOSException;
import com.kingdee.bos.Context;
import com.kingdee.bos.dao.IObjectValue;
import com.kingdee.bos.dao.IObjectCollection;
import com.kingdee.eas.framework.CoreBaseInfo;
import com.kingdee.bos.framework.*;
import com.kingdee.eas.framework.IDataBase;

public interface IPatternBase extends IDataBase
{
    public PatternBaseInfo getPatternBaseInfo(IObjectPK pk) throws BOSException, EASBizException;
    public PatternBaseInfo getPatternBaseInfo(IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException;
    public PatternBaseInfo getPatternBaseInfo(String oql) throws BOSException, EASBizException;
    public PatternBaseCollection getPatternBaseCollection() throws BOSException;
    public PatternBaseCollection getPatternBaseCollection(EntityViewInfo view) throws BOSException;
    public PatternBaseCollection getPatternBaseCollection(String oql) throws BOSException;
    public IObjectValue actionAudit(IObjectValue model) throws BOSException;
    public IObjectValue actionUnaudit(IObjectValue model) throws BOSException;
    public IObjectCollection actionAuditBatch(IObjectCollection models) throws BOSException;
    public IObjectCollection acionUnauditBatch(IObjectCollection models) throws BOSException;
}